package Obv;

import java.util.ArrayList;
import java.util.List;

public abstract class Subjects {
    protected List<Observero> observers;
    public Subjects() {
        observers = new ArrayList<Observero>();
    }
    public void Add(Observero observer){
        observers.add(observer);
    }
    public void Remove(Observero observer){
        observers.remove(observer);
    }
    public abstract void notifyObserver();
}
